<?php
if(!defined('PATH')) exit();

$hide_status = ($player->getHideChar()) ? ' checked="checked"' : '';

?>

<br />
<table border="0" cellpadding="8" cellspacing="1" width="100%">
<tr><td colspan="2" class="head"><b>Character Data</b></td></tr>
<tr><td width="20%">Name:</td><td><?=$player->getName()?></td></tr>
<tr><td width="20%">Sex:</td><td><?=$this->archez->getSexName($player->getSex())?></td></tr>
</table>
<br />
<form action="<?=PATH?>/account/character/editverify/" method="post">
<table border="0" cellpadding="8" cellspacing="1" width="100%">
<tr><td colspan="2" class="head"><b>Character Edition</b></td></tr>
<input type="hidden" name="character" value="<?=$player->getName()?>" />
<tr><td width="20%">Hide character:</td><td><input type="checkbox"<?=$hide_status?> name="hide" class="checkbox"/> <span style="font-size:10px;">(check to hide or vice versa)</span></td></tr>
<tr><td>Comment:</td><td><textarea name="comment" cols="40" rows="10"><?=$player->getCustomField('comment')?></textarea></td></tr>
<tr><td colspan="2"><input type="submit" value="Edit" /></td></tr>
</table>
</form>